package DBConn

import (
	"AlgorithmPractice/src/common/comm_entity/db_entity"
)

/**
 * @author 蔚蔚樱
 * @version V1.0
 * @date 2022/7/15 18:58
 * @author-Email micromicrohard@outlook.com
 * @description
 */
type DBConnOperationInterface interface {
	ExecQuery(sqlStr string) ([]*db_entity.UTDataEntity, error)
	ExecQueryAllUTData() ([]*db_entity.UTDataEntity, error)

	ExecInsert(entity *db_entity.UTDataEntity)
	ExecBatchInsert(entity []*db_entity.UTDataEntity)

	ExecUpdate(entity *db_entity.UTDataEntity)

	PrintQuerySingleData(sqlStr string)
}
